<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 6.2.0">


  <link rel="apple-touch-icon" sizes="180x180" href="https://www.wulihub.com.cn/gc/Wez0VG/images/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="https://www.wulihub.com.cn/gc/Wez0VG/images/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="https://www.wulihub.com.cn/gc/Wez0VG/images/favicon-16x16.png">
  <link rel="mask-icon" href="https://www.wulihub.com.cn/gc/Wez0VG/images/logo.svg" color="#222">

<link rel="stylesheet" href="https://www.wulihub.com.cn/gc/Wez0VG/css/main.css">



<link rel="stylesheet" href="https://npm.elemecdn.com/@fortawesome/fontawesome-free@6.1.1/css/all.min.css" integrity="sha256-DfWjNxDkM94fVBWx1H5BMMp0Zq7luBlV8QRcSES7s+0=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://npm.elemecdn.com/animate.css@3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">

<script class="next-config" data-name="main" type="application/json">{"hostname":"nobige.cn","root":"/","images":"https://www.wulihub.com.cn/gc/Wez0VG/images","scheme":"Gemini","darkmode":false,"version":"8.12.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":false,"style":null},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"Searching...","empty":"We didn't find any results for the search: ${query}","hits_time":"${hits} results found in ${time} ms","hits":"${hits} results found"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}}</script><script src="https://www.wulihub.com.cn/gc/Wez0VG/js/config.js"></script>

    <meta name="description" content="前言 海鲜市场买了一VN007+，然后了解到这个东西还有改串和锁频和锁小区功能，但是这个需要超级密码。 然后这个超级密码目前网上只找到一个在线的计算器，本来还有第二个在线计算器，但是那个网站挂了。 找不到第二个可用网站，故寻找一下算法，然后发现 C83blog 写的一片文章，然后就顺着这个思路继续下去找到了&#x2F;usr&#x2F;lib&#x2F;libcfgapi.so 以及tz_cr">
<meta property="og:type" content="article">
<meta property="og:title" content="VN007+超级密码计算器算法">
<meta property="og:url" content="https://nobige.cn/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/index.html">
<meta property="og:site_name" content="NoBige-JackCh3n">
<meta property="og:description" content="前言 海鲜市场买了一VN007+，然后了解到这个东西还有改串和锁频和锁小区功能，但是这个需要超级密码。 然后这个超级密码目前网上只找到一个在线的计算器，本来还有第二个在线计算器，但是那个网站挂了。 找不到第二个可用网站，故寻找一下算法，然后发现 C83blog 写的一片文章，然后就顺着这个思路继续下去找到了&#x2F;usr&#x2F;lib&#x2F;libcfgapi.so 以及tz_cr">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/dana-katharina-VUVsk6oPjzc-unsplash.jpg">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-03-35.png">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-00-36.png">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-01-17.png">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-02-14.png">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-01-35.png">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-02-34.png">
<meta property="og:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-07-08_16-35-51.png">
<meta property="article:published_time" content="2024-03-20T09:59:47.000Z">
<meta property="article:modified_time" content="2024-11-07T02:59:06.334Z">
<meta property="article:author" content="JackCh3n">
<meta property="article:tag" content="联通">
<meta property="article:tag" content="破解">
<meta property="article:tag" content="免费">
<meta property="article:tag" content="vn007">
<meta property="article:tag" content="计算器">
<meta property="article:tag" content="开源">
<meta property="article:tag" content="IDA">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/dana-katharina-VUVsk6oPjzc-unsplash.jpg">


<link rel="canonical" href="https://nobige.cn/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"en","comments":true,"permalink":"https://nobige.cn/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/","path":"post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/","title":"VN007+超级密码计算器算法"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>VN007+超级密码计算器算法 | NoBige-JackCh3n</title>
  
  <script class="next-config" data-name="google_analytics" type="application/json">{"tracking_id":"UA-122817633-1","only_pageview":true}</script>
  <script src="https://www.wulihub.com.cn/gc/Wez0VG/js/third-party/analytics/google-analytics.js"></script>

  <script src="https://www.wulihub.com.cn/gc/Wez0VG/js/third-party/analytics/baidu-analytics.js"></script>
  <script async src="https://hm.baidu.com/hm.js?96741f92c07d010c0ddd1d02197893e2"></script>




  <noscript>
    <link rel="stylesheet" href="https://www.wulihub.com.cn/gc/Wez0VG/css/noscript.css">
  </noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="Toggle navigation bar" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <p class="site-title">NoBige-JackCh3n</p>
      <i class="logo-line"></i>
    </a>
      <p class="site-subtitle" itemprop="description">copy to my blog</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="home fa-fw"></i>Home</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="user fa-fw"></i>About</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="tags fa-fw"></i>Tags</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="th fa-fw"></i>Categories</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="archive fa-fw"></i>Archives</a></li><li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="sitemap fa-fw"></i>Sitemap</a></li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>Search
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup"><div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off" maxlength="80"
           placeholder="Searching..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close" role="button">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div class="search-result-container no-result">
  <div class="search-result-icon">
    <i class="fa fa-spinner fa-pulse fa-5x"></i>
  </div>
</div>

    </div>
  </div>

</div>
        
  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>

  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          Table of Contents
        </li>
        <li class="sidebar-nav-overview">
          Overview
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%89%8D%E8%A8%80"><span class="nav-number">1.</span> <span class="nav-text">前言</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#IDA%E5%8F%8D%E7%BC%96%E8%AF%91%E7%94%9F%E6%88%90%E7%9A%84%E4%BB%A3%E7%A0%81"><span class="nav-number">2.</span> <span class="nav-text">IDA反编译生成的代码</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#tz-create-web-superkey"><span class="nav-number">2.1.</span> <span class="nav-text">tz_create_web_superkey</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#js%E7%89%88tz-create-web-superkey"><span class="nav-number">2.2.</span> <span class="nav-text">js版tz_create_web_superkey</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#tz-create-telnet-superkey"><span class="nav-number">2.3.</span> <span class="nav-text">tz_create_telnet_superkey</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#js%E7%89%88tz-create-telnet-superkey"><span class="nav-number">2.4.</span> <span class="nav-text">js版tz_create_telnet_superkey</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%9C%A8%E7%BA%BF%E8%AE%A1%E7%AE%97%E5%99%A8"><span class="nav-number">3.</span> <span class="nav-text">在线计算器</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%8F%82%E8%80%83"><span class="nav-number">4.</span> <span class="nav-text">参考</span></a></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="JackCh3n"
      src="https://www.wulihub.com.cn/gc/Wez0VG/images/avatar.png">
  <p class="site-author-name" itemprop="name">JackCh3n</p>
  <div class="site-description" itemprop="description">Record the pit filling process with words</div>
</div>
<div class="site-state-wrap site-overview-item animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">146</span>
          <span class="site-state-item-name">posts</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">42</span>
        <span class="site-state-item-name">categories</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">279</span>
        <span class="site-state-item-name">tags</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author site-overview-item animated">
      <span class="links-of-author-item">
        <a href="https://github.com/jackch3n" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;jackch3n" rel="noopener" target="_blank"><i class="github fa-fw"></i>GitHub</a>
      </span>
  </div>


  <div class="links-of-blogroll site-overview-item animated">
    <div class="links-of-blogroll-title"><i class="fa fa-globe fa-fw"></i>
      Links
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="https://vercel.com/?f=nobige" title="https:&#x2F;&#x2F;vercel.com?f&#x3D;nobige" rel="noopener" target="_blank">vercel</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://www.jsdelivr.com/?f=nobige" title="https:&#x2F;&#x2F;www.jsdelivr.com?f&#x3D;nobige" rel="noopener" target="_blank">jsdelivr</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://www.upyun.com/?f=nobige" title="https:&#x2F;&#x2F;www.upyun.com?f&#x3D;nobige" rel="noopener" target="_blank">upyun</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://coding.net/?f=nobige" title="https:&#x2F;&#x2F;coding.net?f&#x3D;nobige" rel="noopener" target="_blank">coding</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://unsplash.com/?f=nobige" title="https:&#x2F;&#x2F;unsplash.com?f&#x3D;nobige" rel="noopener" target="_blank">unsplash</a>
        </li>
    </ul>
  </div>

        </div>
      </div>
    </div>
  </aside>
  <div class="sidebar-dimmer"></div>


    </header>

    
  <div class="back-to-top" role="button" aria-label="Back to top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="en">
    <link itemprop="mainEntityOfPage" href="https://nobige.cn/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="https://www.wulihub.com.cn/gc/Wez0VG/images/avatar.png">
      <meta itemprop="name" content="JackCh3n">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="NoBige-JackCh3n">
      <meta itemprop="description" content="Record the pit filling process with words">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content="VN007+超级密码计算器算法 | NoBige-JackCh3n">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          VN007+超级密码计算器算法
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">Posted on</span>

      <time title="Created: 2024-03-20 17:59:47" itemprop="dateCreated datePublished" datetime="2024-03-20T17:59:47+08:00">2024-03-20</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">Edited on</span>
      <time title="Modified: 2024-11-07 10:59:06" itemprop="dateModified" datetime="2024-11-07T10:59:06+08:00">2024-11-07</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">In</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/%E7%AE%97%E6%B3%95/" itemprop="url" rel="index"><span itemprop="name">算法</span></a>
        </span>
    </span>

  
    <span class="post-meta-item" title="Views" id="busuanzi_container_page_pv">
      <span class="post-meta-item-icon">
        <i class="far fa-eye"></i>
      </span>
      <span class="post-meta-item-text">Views: </span>
      <span id="busuanzi_value_page_pv"></span>
    </span>
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
        <p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/dana-katharina-VUVsk6oPjzc-unsplash.jpg" alt="dana-katharina-VUVsk6oPjzc-unsplash.jpg"></p>
<p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-03-35.png" alt="fuckqq_2024-03-20_18-03-35.png"></p>
<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><blockquote>
<p>海鲜市场买了一VN007+，然后了解到这个东西还有改串和锁频和锁小区功能，但是这个需要超级密码。</p>
<p>然后这个超级密码目前网上只找到一个在线的计算器，本来还有第二个在线计算器，但是那个网站挂了。</p>
<p>找不到第二个可用网站，故寻找一下算法，然后发现 C83blog 写的一片文章，然后就顺着这个思路继续下去找到了&#x2F;usr&#x2F;lib&#x2F;libcfgapi.so 以及tz_create_web_superkey 方法，顺便反编译了一下，然后修改成Js代码并将其“开源”</p>
</blockquote>
<p>根据博文提示找到两个生成key的方法</p>
<p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-00-36.png" alt="fuckqq_2024-03-20_18-00-36.png"></p>
<h2 id="IDA反编译生成的代码"><a href="#IDA反编译生成的代码" class="headerlink" title="IDA反编译生成的代码"></a>IDA反编译生成的代码</h2><p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-01-17.png" alt="fuckqq_2024-03-20_18-01-17.png"></p>
<h3 id="tz-create-web-superkey"><a href="#tz-create-web-superkey" class="headerlink" title="tz_create_web_superkey"></a>tz_create_web_superkey</h3><figure class="highlight c"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><span class="line"><span class="type">signed</span> __int64 __fastcall <span class="title function_">tz_create_web_superkey</span><span class="params">(__int64 a1, __int64 a2)</span></span><br><span class="line">&#123;</span><br><span class="line">  __int64 v3; <span class="comment">// [xsp+10h] [xbp+10h]</span></span><br><span class="line">  __int64 v4; <span class="comment">// [xsp+18h] [xbp+18h]</span></span><br><span class="line">  <span class="type">signed</span> <span class="type">int</span> j; <span class="comment">// [xsp+24h] [xbp+24h]</span></span><br><span class="line">  <span class="type">signed</span> <span class="type">int</span> i; <span class="comment">// [xsp+28h] [xbp+28h]</span></span><br><span class="line">  <span class="type">unsigned</span> <span class="type">int</span> v7; <span class="comment">// [xsp+2Ch] [xbp+2Ch]</span></span><br><span class="line"></span><br><span class="line">  v4 = a1;</span><br><span class="line">  v3 = a2;</span><br><span class="line">  <span class="keyword">if</span> ( (<span class="type">unsigned</span> <span class="type">int</span>)<span class="built_in">strlen</span>(a1) != <span class="number">15</span> )</span><br><span class="line">    <span class="keyword">return</span> <span class="number">0xFFFFFFFF</span>LL;</span><br><span class="line">  <span class="keyword">if</span> ( !(<span class="type">unsigned</span> <span class="type">int</span>)is_all_number() )</span><br><span class="line">    <span class="keyword">return</span> <span class="number">4294967294LL</span>;</span><br><span class="line">  v7 = <span class="number">1</span>;</span><br><span class="line">  <span class="keyword">for</span> ( i = <span class="number">0</span>; i &lt;= <span class="number">9</span>; ++i )</span><br><span class="line">  &#123;</span><br><span class="line">    <span class="keyword">for</span> ( j = <span class="number">0</span>; j &lt; <span class="number">15</span>; ++j )</span><br><span class="line">    &#123;</span><br><span class="line">      <span class="keyword">if</span> ( v7 &gt; <span class="number">0xFFFFFF</span> )</span><br><span class="line">        v7 = ~v7 &amp; <span class="number">0xFFFFFF</span>;</span><br><span class="line">      v7 += *(<span class="type">unsigned</span> __int8 *)(v4 + (j + i) % <span class="number">15</span>) * ((i + <span class="number">1</span>) * (j + <span class="number">1</span>) &amp; <span class="number">0xFF</span>);</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="keyword">if</span> ( v7 &gt; <span class="number">0xFFFFFF</span> )</span><br><span class="line">      v7 = ~v7 &amp; <span class="number">0xFFFFFF</span>;</span><br><span class="line">    v7 = <span class="number">283</span> * v7 &amp; <span class="number">0x3F</span>;</span><br><span class="line">    *(_BYTE *)(v3 + i) = aUph2Iqu7aish6a[v7];</span><br><span class="line">  &#125;</span><br><span class="line">  <span class="keyword">return</span> <span class="number">0LL</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>对应的数组</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">aUph2Iqu7aish6a DCB &quot;uph2!iqu7aish#6ahk@6Aed^ee6utha_u?rohgh1i-eHaey3ieY=0jiJah%z4ou2&quot;</span><br></pre></td></tr></table></figure>

<p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-02-14.png" alt="fuckqq_2024-03-20_18-02-14.png"></p>
<p>改造的</p>
<h3 id="js版tz-create-web-superkey"><a href="#js版tz-create-web-superkey" class="headerlink" title="js版tz_create_web_superkey"></a>js版tz_create_web_superkey</h3><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">const</span> aUph2Iqu7aish6a = <span class="string">&quot;uph2!iqu7aish#6ahk@6Aed^ee6utha_u?rohgh1i-eHaey3ieY=0jiJah%z4ou2&quot;</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">tz_create_web_superkey</span>(<span class="params">a1</span>) &#123;</span><br><span class="line">    <span class="keyword">let</span> v4 = a1;</span><br><span class="line">    <span class="keyword">let</span> v3 = [];</span><br><span class="line">    <span class="keyword">let</span> v7 = <span class="number">1</span>;</span><br><span class="line">    <span class="keyword">for</span> (<span class="keyword">let</span> i = <span class="number">0</span>; i &lt;= <span class="number">9</span>; i++) &#123;</span><br><span class="line">        <span class="keyword">for</span> (<span class="keyword">let</span> j = <span class="number">0</span>; j &lt; <span class="number">15</span>; j++) &#123;</span><br><span class="line">            <span class="keyword">if</span> (v7 &gt; <span class="number">0xFFFFFF</span>) &#123;</span><br><span class="line">                v7 = ~v7 &amp; <span class="number">0xFFFFFF</span>;</span><br><span class="line">            &#125;</span><br><span class="line">            v7 += v4.<span class="title function_">charCodeAt</span>((j + i) % <span class="number">15</span>) * ((i + <span class="number">1</span>) * (j + <span class="number">1</span>) &amp; <span class="number">0xFF</span>);</span><br><span class="line">            <span class="keyword">if</span> (v7 &gt; <span class="number">0xFFFFFF</span>) &#123;</span><br><span class="line">                v7 = ~v7 &amp; <span class="number">0xFFFFFF</span>;</span><br><span class="line">            &#125;</span><br><span class="line">        &#125;</span><br><span class="line">        v7 = (<span class="number">283</span> * v7) &amp; <span class="number">0x3F</span>;</span><br><span class="line">        v3[i]= aUph2Iqu7aish6a[v7];</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="comment">//console.log(v3)</span></span><br><span class="line">    <span class="keyword">return</span> v3.<span class="title function_">join</span>(<span class="string">&quot;&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="variable language_">console</span>.<span class="title function_">log</span>(<span class="title function_">tz_create_web_superkey</span>(<span class="string">&#x27;000000000000001&#x27;</span>))</span><br><span class="line"><span class="comment">//i!a2au3j4i</span></span><br><span class="line"><span class="variable language_">console</span>.<span class="title function_">log</span>(<span class="title function_">tz_create_web_superkey</span>(<span class="string">&#x27;000000000000002&#x27;</span>))</span><br><span class="line"><span class="comment">//i33ek=Hao^</span></span><br><span class="line"><span class="variable language_">console</span>.<span class="title function_">log</span>(<span class="title function_">tz_create_web_superkey</span>(<span class="string">&#x27;000000000000003&#x27;</span>))</span><br><span class="line"><span class="comment">//66e1!i1huq</span></span><br></pre></td></tr></table></figure>

<p>跟【墨天逸— 007+IMEI超密计算器】生成的码是一样的，【墨天逸— 007+IMEI超密计算器】生成的码是可以直接登录的，所以算是成功了。</p>
<p>另外一个方法，不知道有没有用</p>
<p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-01-35.png" alt="fuckqq_2024-03-20_18-01-35.png"></p>
<h3 id="tz-create-telnet-superkey"><a href="#tz-create-telnet-superkey" class="headerlink" title="tz_create_telnet_superkey"></a>tz_create_telnet_superkey</h3><figure class="highlight c"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br></pre></td><td class="code"><pre><span class="line"><span class="type">signed</span> __int64 __fastcall <span class="title function_">tz_create_telnet_superkey</span><span class="params">(__int64 a1, __int64 a2)</span></span><br><span class="line">&#123;</span><br><span class="line">  __int64 v3; <span class="comment">// [xsp+10h] [xbp+10h]</span></span><br><span class="line">  __int64 v4; <span class="comment">// [xsp+20h] [xbp+20h]</span></span><br><span class="line">  __int64 v5; <span class="comment">// [xsp+28h] [xbp+28h]</span></span><br><span class="line">  <span class="type">int</span> v6; <span class="comment">// [xsp+30h] [xbp+30h]</span></span><br><span class="line">  <span class="type">int</span> j; <span class="comment">// [xsp+34h] [xbp+34h]</span></span><br><span class="line">  <span class="type">int</span> i; <span class="comment">// [xsp+38h] [xbp+38h]</span></span><br><span class="line">  <span class="type">unsigned</span> <span class="type">int</span> v9; <span class="comment">// [xsp+3Ch] [xbp+3Ch]</span></span><br><span class="line"></span><br><span class="line">  v3 = a2;</span><br><span class="line">  v4 = <span class="number">0LL</span>;</span><br><span class="line">  v5 = <span class="number">0LL</span>;</span><br><span class="line">  <span class="keyword">if</span> ( !(<span class="type">unsigned</span> <span class="type">int</span>)check_special_char_and_change_capital() )</span><br><span class="line">    <span class="keyword">return</span> <span class="number">4294967294LL</span>;</span><br><span class="line">  v6 = <span class="built_in">strlen</span>(&amp;v4);</span><br><span class="line">  <span class="keyword">if</span> ( v6 != <span class="number">12</span> )</span><br><span class="line">    <span class="keyword">return</span> <span class="number">0xFFFFFFFF</span>LL;</span><br><span class="line">  v9 = <span class="number">1</span>;</span><br><span class="line">  <span class="keyword">for</span> ( i = <span class="number">0</span>; i &lt;= <span class="number">9</span>; ++i )</span><br><span class="line">  &#123;</span><br><span class="line">    <span class="keyword">for</span> ( j = <span class="number">0</span>; j &lt; v6; ++j )</span><br><span class="line">    &#123;</span><br><span class="line">      <span class="keyword">if</span> ( v9 &gt; <span class="number">0xFFFFFF</span> )</span><br><span class="line">      &#123;</span><br><span class="line">        v9 = ~v9;</span><br><span class="line">        v9 &amp;= <span class="number">0xFFFFFF</span>u;</span><br><span class="line">      &#125;</span><br><span class="line">      v9 += *((<span class="type">unsigned</span> __int8 *)&amp;v4 + j + i - (j + i) / v6 * v6) * ((i + <span class="number">1</span>) * (j + <span class="number">1</span>) &amp; <span class="number">0xFF</span>);</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="keyword">if</span> ( v9 &gt; <span class="number">0xFFFFFF</span> )</span><br><span class="line">    &#123;</span><br><span class="line">      v9 = ~v9;</span><br><span class="line">      v9 &amp;= <span class="number">0xFFFFFF</span>u;</span><br><span class="line">    &#125;</span><br><span class="line">    v9 = <span class="number">253</span> * v9 &amp; <span class="number">0x3F</span>;</span><br><span class="line">    *(_BYTE *)(v3 + i) = aIex5ahbOh3oWai[v9];</span><br><span class="line">  &#125;</span><br><span class="line">  <span class="keyword">return</span> <span class="number">0LL</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>对应的数组</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">aIex5ahbOh3oWai DCB &quot;Iex5ahb#oh3o@wai!hoh8q-uaeye+9ti@4Oob=ohm4uP!heiN?u3thei:g&lt;aec&quot;,0x24</span><br></pre></td></tr></table></figure>

<p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-03-20_18-02-34.png" alt="fuckqq_2024-03-20_18-02-34.png"></p>
<h3 id="js版tz-create-telnet-superkey"><a href="#js版tz-create-telnet-superkey" class="headerlink" title="js版tz_create_telnet_superkey"></a>js版tz_create_telnet_superkey</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br></pre></td><td class="code"><pre><span class="line">function tz_create_telnet_superkey(v4) &#123;</span><br><span class="line">  let v3 = [];</span><br><span class="line">  let aIex5ahbOh3oWai = &quot;Iex5ahb#oh3o@wai!hoh8q-uaeye+9ti@4Oob=ohm4uP!heiN?u3thei:g&lt;aec&quot;;</span><br><span class="line">  let v6 = v4.length;</span><br><span class="line">  if (v6 != 12) &#123;</span><br><span class="line">    return &quot;LengthError&quot;;</span><br><span class="line">  &#125;</span><br><span class="line">  let v9 = 1;</span><br><span class="line">  for (let i = 0; i &lt;= 9; ++i) &#123;</span><br><span class="line">    for (let j = 0; j &lt; v6; ++j) &#123;</span><br><span class="line">        const charCode = v4.charAt((j + i) % v6).charCodeAt(0);</span><br><span class="line">        if (v9 &gt; 0xFFFFFF) &#123;</span><br><span class="line">            v9 = ~v9 &amp; 0xFFFFFF;</span><br><span class="line">        &#125;</span><br><span class="line">        v9 += charCode * ((i + 1) * (j + 1) &amp; 0xFF);</span><br><span class="line">        if (v9 &gt; 0xFFFFFF) &#123;</span><br><span class="line">            v9 = ~v9 &amp; 0xFFFFFF;</span><br><span class="line">        &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    v9 = 253 * v9 &amp; 0x3F;</span><br><span class="line">    v3[i] = aIex5ahbOh3oWai.charAt(v9);</span><br><span class="line">  &#125;</span><br><span class="line">  return v3.join(&quot;&quot;);</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line">console.log(tz_create_telnet_superkey(&#x27;abcdefghijk1&#x27;))</span><br></pre></td></tr></table></figure>

<h2 id="在线计算器"><a href="#在线计算器" class="headerlink" title="在线计算器"></a>在线计算器</h2><blockquote>
<p>既然算法都有了，那就直接整改在线版</p>
</blockquote>
<p><a target="_blank" rel="noopener" href="https://tools.nobige.cn/vn007.html">联通(华盛通信)vn007+超级密码在线免费计算器 (nobige.cn)</a></p>
<p><img src="https://blog-static.nobige.cn/gh/JackCh3n/n0bige/post/20240320-VN007+_chao_ji_mi_ma_ji_suan_qi_suan_fa/fuckqq_2024-07-08_16-35-51.png" alt="fuckqq_2024-07-08_16-35-51.png"></p>
<h2 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h2><ul>
<li><a target="_blank" rel="noopener" href="https://unsplash.com/photos/a-woman-taking-a-picture-of-herself-in-the-desert-VUVsk6oPjzc">https://unsplash.com/photos/a-woman-taking-a-picture-of-herself-in-the-desert-VUVsk6oPjzc</a></li>
<li><a target="_blank" rel="noopener" href="https://yhpop.com/556.html">https://yhpop.com/556.html</a></li>
<li><a target="_blank" rel="noopener" href="https://tool.zootu.cn/tools/api/007imei/">https://tool.zootu.cn/tools/api/007imei/</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.dc8.top/?p=188">https://blog.dc8.top/?p=188</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/zhgeliang/article/details/116263011">https://blog.csdn.net/zhgeliang/article/details/116263011</a></li>
</ul>

    </div>

    
    
    

    <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/%E8%81%94%E9%80%9A/" rel="tag"># 联通</a>
              <a href="/tags/%E7%A0%B4%E8%A7%A3/" rel="tag"># 破解</a>
              <a href="/tags/%E5%85%8D%E8%B4%B9/" rel="tag"># 免费</a>
              <a href="/tags/vn007/" rel="tag"># vn007</a>
              <a href="/tags/%E8%AE%A1%E7%AE%97%E5%99%A8/" rel="tag"># 计算器</a>
              <a href="/tags/%E5%BC%80%E6%BA%90/" rel="tag"># 开源</a>
              <a href="/tags/IDA/" rel="tag"># IDA</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/post/20240207-xiao_mi_lu_you_qi_mini(R1C)_shua_ji/" rel="prev" title="小米路由器mini(R1C)刷机">
                  <i class="fa fa-chevron-left"></i> 小米路由器mini(R1C)刷机
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/post/20240513-nei_wang_shi_jian_tong_bu_fang_an/" rel="next" title="NTP内网时间同步方案chronyc">
                  NTP内网时间同步方案chronyc <i class="fa fa-chevron-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






    
  <div class="comments" id="disqus_thread">
    <noscript>Please enable JavaScript to view the comments powered by Disqus.</noscript>
  </div>
  
</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">


<div class="copyright">
  &copy; 
  <span itemprop="copyrightYear">2024</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">JackCh3n</span>
</div>
<div class="busuanzi-count">
    <span class="post-meta-item" id="busuanzi_container_site_uv">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="Total Visitors">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-item" id="busuanzi_container_site_pv">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="Total Views">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>
  <div class="powered-by">Powered by <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a>
  </div>
    <br/>Powerful CDN service provided by 
  <a target="_blank" rel="noopener" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" style="border:none"><img src="https://www.wulihub.com.cn/gc/Wez0VG/images/upyun_logo.png" height="66" style="display: list-item;" alt="upyun"></a> 
  <a target="_blank" rel="noopener" href="https://www.jsdelivr.com" style="border:none"><img src="https://www.wulihub.com.cn/gc/Wez0VG/images/jsdelivr_logo.svg" height="50" style="display: list-item;" alt="JsDelivr"></a>
  <p>
  <br/><a target="_blank" rel="noopener" href="https://pages.github.com/?f=nobige">Github Pages</a>&nbsp;&nbsp;<a target="_blank" rel="noopener" href="https://vercel.com/?f=nobige">Vercel</a>&nbsp;&nbsp;<a target="_blank" rel="noopener" href="https://www.netlify.com/?f=nobige">Netlify</a>&nbsp;&nbsp;<a target="_blank" rel="noopener" href="https://coding.net/?f=nobige">coding</a>&nbsp;&nbsp;provides static publishing
  </p>

    </div>
  </footer>

  
  <script src="https://npm.elemecdn.com/animejs@3.2.1/lib/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="https://www.wulihub.com.cn/gc/Wez0VG/js/comments.js"></script><script src="https://www.wulihub.com.cn/gc/Wez0VG/js/utils.js"></script><script src="https://www.wulihub.com.cn/gc/Wez0VG/js/motion.js"></script><script src="https://www.wulihub.com.cn/gc/Wez0VG/js/next-boot.js"></script>

  
<script src="https://npm.elemecdn.com/hexo-generator-searchdb@1.4.0/dist/search.js" integrity="sha256-vXZMYLEqsROAXkEw93GGIvaB2ab+QW6w3+1ahD9nXXA=" crossorigin="anonymous"></script>
<script src="https://www.wulihub.com.cn/gc/Wez0VG/js/third-party/search/local-search.js"></script>





  
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>




<link rel="stylesheet" href="https://npm.elemecdn.com/disqusjs@1.3.0/dist/disqusjs.css" integrity="sha256-GxdCIOyfxQ1OBfS99qAIJDoGK1ADuBsxhMTqXG82fAY=" crossorigin="anonymous">

<script class="next-config" data-name="disqusjs" type="application/json">{"enable":true,"api":"https://duosuo.nobige.cn/","apikey":"Kmo9kPwsir7ppp8tGpeGROCmUtW8tdZBOdBVowPC67xVfTS5uV1wr6s4kckvP95m","shortname":"nobige","js":{"url":"https://npm.elemecdn.com/disqusjs@1.3.0/dist/disqus.js","integrity":"sha256-LVaMHPQ2zLqOc5rXSAfr4d1PIkEGNLyyUTDNPZmTtUw="}}</script>
<script src="https://www.wulihub.com.cn/gc/Wez0VG/js/third-party/comments/disqusjs.js"></script>

</body>
</html>
